package com.smedi.ismedi.authoritymanagement.core.domain.repository;

import com.smedi.ismedi.authoritymanagement.core.domain.aggregatemodel.TermRelationshipGroupType;

import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-7-13 19:42
 */
public interface TermRelationshipGroupRepository {
    TermRelationshipGroupType selectByTermRelationshipGroupTypeId(Long termRelationshipGroupTypeId);

    TermRelationshipGroupType doInsert(TermRelationshipGroupType data);

    TermRelationshipGroupType doUpdate(TermRelationshipGroupType data);

    void doDeleteByTermRelationshipGroupTypeId(Long termRelationshipGroupTypeId);

    List<TermRelationshipGroupType> selectRolePermissionTypeList();
}
